package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    @Transactional
    void updateWithDish(SetmealDto setmealDto);

    SetmealDto getSetmealDtoById(Long id);

    void removeWithDish(List<Long> ids);
}
